package com.karry.yl.service.financial;


import com.karry.commons.vo.LayTableResponse;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

public interface SettlementService {
    LayTableResponse selectJieSuanPage(int page, int limit,String elderlyName,Integer status,Long orgId) ;

    void payByCash(Long elderlyId,BigDecimal settleAmount,Date settleTime,Long orgId,Date curr,String elderlyIdNo,String toll);

    /**
     * 在线支付成功后，更改账单状态
     * @param elderlyId
     * @param curr
     */
    void updateReceipt(Long elderlyId,Date curr);

    boolean isPaid(Long elderlyId,Date curr);

    /**
     * 账单支付
     */

    Map<String,String> pay(Map<String,String> params);
}
